package gui;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;

import javax.swing.JPanel;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
@SuppressWarnings("serial")
public class GraphPanel extends JPanel implements TableModelListener
{
	public GraphPanel()
	{
		this.setSize(300, 300);
		this.setPreferredSize(new Dimension(300, 300));
		this.setMinimumSize(new Dimension(300, 300));
	}
	
	@Override
	public void paintComponent(Graphics g)
	{
		super.setBackground(Color.DARK_GRAY);
		super.paintComponent(g);
		Graphics2D g2 = (Graphics2D)g;
		g2.setColor(Color.WHITE);
		g2.scale(5, 5);
		g2.drawString("GRAPH", 10, 10);
		
	}

	@Override
	public void tableChanged(TableModelEvent arg0)
	{
				
	}
}
